package models

import anorm._
import play.api.db.DB
import play.api.db.DB.withConnection
import play.api.Play.current

class User (val name:String, val password:String)

object User {
	
	def create{
		DB.withConnection{implicit conn=>
           val result:Boolean = SQL("insert into message(label) values ('A')").execute()
		}
	}
	
	def update(){
	  
	}

	def delete(){
	  
	}
	
	def all(){
	  
	}
	
}